﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            //yh a = new yh();
            //a.gh = 2;
            //a.xm = "jy";
            //a.xb = "女";
            //a.bm = "智能部";
            //a.ff();

            //yh b = new yh(4,"sb","男","初中","招聘部");
            //b.ff();
            //js a = new js();
            //Console.WriteLine(a.ff1(4));

            //js b = new js();
            //Console.WriteLine(a.ff1(5,2));

            js1 a = new js1();
            Console.WriteLine("两个整数相加：" + a.jj(7, 8));
            Console.WriteLine("两个小数相加：" + a.jj(2.4, 6.5));
            Console.WriteLine("两个字符串相加:" + a.jj("a", "c"));
            Console.WriteLine("从1到指定整数：" + a.jj(3));
        }
    }
}
